interface RoomMemory{
    // 有关structure的memory
    center_link?:string
    source_link?:string
    upgrade_link?:string
    tower_link?:string
    source2_link?:string
}

// 结构原型拓展
interface Structure {

}

// link原型拓展
interface StructureLink {
    register_center_link():void
    register_source_link():void
    register_consume_link():void
    HandMisson():void
}

// tower原型拓展
interface StructureTower {
    attack_01(creeps:Creep[]):void
    work_A1():void
    work_A2():void
}

interface StructureLab{
    ReleaseImpurity(res:ResourceConstant):void
    IdentifyImpurity(res:ResourceConstant):boolean
    HandMisson():void
}
interface StructureObserver {
    HandMisson():void
}

interface StructurePowerSpawn{
    HandlePU():void
    HandMisson():void
}